package com.mall.order.dal.entitys;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_user")
@Data
@ToString
public class User {
    @Id
    private Long id;

    private Long uid;
    /**
     * 用户名
     */
    private String username;

    /**
     * 密码 md5加密存储
     */
    private String password;

    @Column(name = "is_del")
    private Integer isDeleted;
}